package com.example.springboot.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class HelloAction {

    @Resource
    String helleMsg;


    @GetMapping("hello")
    public String hello(){
        return helleMsg;
    }

}
